package com.study.manage.dto;

import java.io.Serializable;
import java.util.List;

import com.study.manage.domain.enumm.UserType;

@SuppressWarnings("serial")
public class SessionUser implements Serializable {

    /** 用户表--主键Id 机构 */
    private Long id;

    /** 机构用户表--主键Id */
    private Long userOrganizaId;

    private Long adminUserId;
    /** 用户名 */
    private String name;
    private Long parentId;
    private Long number;
    private String phone;
    private UserType type = UserType.ORG;
    private String token;
    private List<String> roleTypes;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getUserOrganizaId() {
        return userOrganizaId;
    }

    public void setUserOrganizaId(Long userOrganizaId) {
        this.userOrganizaId = userOrganizaId;
    }

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public UserType getType() {
        return type;
    }

    public void setType(UserType type) {
        this.type = type;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getAdminUserId() {
        return adminUserId;
    }

    public void setAdminUserId(Long adminUserId) {
        this.adminUserId = adminUserId;
    }

    public List<String> getRoleTypes() {
        return roleTypes;
    }

    public void setRoleTypes(List<String> roleTypes) {
        this.roleTypes = roleTypes;
    }

}
